<?php

    include_once "../config/classes/class.Config.php";
    $cfg = new config();
    if (!class_exists("phpGrid")) include_once $cfg->pathConfig."/phpGrid/conf.php";      
    
    
    /* Grid usuarios */
    $sql = "SELECT *, concat('$cfg->pathImg/edit2.png') as 'Editar' FROM usuarios ";
//    echo $sql."<br>";
//    exit();
    $users_grid   = new C_DataGrid($sql,"id","Usuarios");
    
    $users_grid -> enable_resize(true);
    $users_grid -> enable_search(true);
    $users_grid -> set_dimension(1000, 200);
    $users_grid -> set_col_img("Editar");
    $users_grid -> set_jq_editurl( $cfg->pathUsers."/edit_user_admin.php" );
    $users_grid -> set_theme("south-street");
    

    
    $users_grid->display();

?>
